<h1>Editing project</h1>

<% form_for @project, :url => project_path(@project) do |f| %>
  <%= f.error_messages %>

  <dl>
    <dt><%= f.label :displayname, 'Name' %></dt>
    <dd><%= f.text_field :displayname %></dd>
    <dt><%= f.label :name, 'Identifier' %></dt>
    <dd><%= f.text_field :name, :disabled => true %></dd>
    <dt><%= f.label :description %></dt>
    <dd><%= f.text_area :description %></dd>
  </dl>
  <%= f.submit 'Save Changes', :class => 'submit' %>
  <small><%= link_to 'Cancel', project_path( @project.name ) %></small>
<% end %>
